如何禁用Tomcat的缓存? |
您所在的位置:网站首页 › tomcat 禁用缓存 › 如何禁用Tomcat的缓存? |
百度翻译此文
有道翻译此文
问题描述
how to disable tomcat caching? I use this - in Tomcat/conf/context.xml but it not helps 推荐答案Actual problem is antiResourceLocking="true". Looks like there is a conflict with cachingAllowed="false". 其他推荐答案I'm not sure what you're using, but in context.xml you can change the value of cachingAllowed by removing the flag. Remember to delete the cache folder after that. Resources : Apache Tomcat Configuration ReferenceOn the same topic : How do I disable tomcat caching? I'm having weird static file problems. 其他推荐答案cachingAllowed did not help. I resolved this by modifying : $CATALINA_HOME/conf/Catalina/localhost/thewebapp.xmlwhich is the cached file of context.xml |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |